import {http} from "@/interceptor/luch-request/index.js"


// 创建
export const saveRegistration = (data) => {
    return http.post("api/admin/registration/v1/saveRegistration", data,{
	header:{
			"content-type": "application/json"
		}
	});	
}
// 通知
export const informRegistration = (data) => {
    return http.post("api/admin/registration/v1/inform", data,{
	header:{
			"content-type": "application/json"
		}
	});	
}

// 编辑
export const updateRegistration = (data) => {
    return http.put("api/admin/registration/v1/updateRegistration", data,{
	header:{
			"content-type": "application/json"
		}
	});	
}

// 列表
export const pageRegistration = (data) => {
	return http.get("api/admin/registration/v1/pageRegistration", {
		data: data
	});
}
 
